<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>后台管理系统</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">

    <link rel="stylesheet" href="/styles/layui.css"  media="all">
    <link rel="stylesheet" href="/styles/common.css"/>
</head>
<body class="layui-layout-body" style="width: 100%">
<#include "managerbossmenu.ftl">
<div class="layui-body">
    <!-- 内容主体区域 -->
    <div style="padding: 15px;">
        <h2>
            部门管理 >
        </h2>
        <table class="listtable">
            <caption>所有部门:</caption>
            <tr class="listheader">
                <th>部门编号</th>
                <th>部门名称</th>
                <th>操作</th>
            </tr>
            <#if deps??>
                <#list deps as dep>
                    <tr>
                        <td>${dep.departmentid}</td>
                        <td id="depname${dep.departmentid}">${dep.departmentname}</td>
                        <td>
                            <a class="clickbutton" href="/managerboss/deletedep?id=${dep.departmentid}&departmentname=${dep.departmentname}">删除</a>
                        </td>
                    </tr>
                </#list>
            </#if>

        </table>
    </div>
</div>



<div class="layui-footer">
    : 欢迎使用
</div>
</div>
</body>
</html>